package com.codingfuture.entity;

public class Exam extends Question{

    private Integer score;

    public Exam(Question question,Integer score) {
        this.setQid(question.getQid());
        this.setTitle(question.getTitle());
        this.setImgPath(question.getImgPath());
        this.setType(question.getType());
        this.score = score;
    }

    public Exam() {
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
}
